package com.echat.elocation.event;

public class LocationEvent {

    private double longitude;

    private double latitude;

    private long gpsTime;

    private float speed;

    private float bearing;

    private float accuracy;

    private String provider;

    private int numSatellite;

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public long getGpsTime() {
        return gpsTime;
    }

    public void setGpsTime(long gpsTime) {
        this.gpsTime = gpsTime;
    }

    public float getSpeed() {
        return speed;
    }

    public void setSpeed(float speed) {
        this.speed = speed;
    }

    public float getBearing() {
        return bearing;
    }

    public void setBearing(float bearing) {
        this.bearing = bearing;
    }

    public float getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(float accuracy) {
        this.accuracy = accuracy;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public int getNumSatellite() {
        return numSatellite;
    }

    public void setNumSatellite(int numSatellite) {
        this.numSatellite = numSatellite;
    }

    @Override
    public String toString() {
        return "LocationEvent{" +
                "longitude=" + longitude +
                ", latitude=" + latitude +
                ", gpsTime=" + gpsTime +
                ", speed=" + speed +
                ", bearing=" + bearing +
                ", accuracy=" + accuracy +
                ", provider='" + provider + '\'' +
                ", numSatellite=" + numSatellite +
                '}';
    }
}
